<script>
export default {
  name: "UserDetail",
  props:{
    id: String
  }
}
</script>

<template>
    <h3>用户详情页面</h3>
    <el-button @click="this.$router.go(-1)">返回</el-button>
    <div>获取到的用户编号为:{{this.$route.params.id}}</div>
    <div>获取到的用户编号为:{{id}}</div>
</template>

<style scoped>

</style>